package model

import (
	"gorm.io/gorm"
	"time"
)

type EduTeacher struct {
	ID        int            `json:"id"`
	Name      string         `json:"name"`
	Intro     string         `json:"intro"`
	Career    string         `json:"career"`
	Level     int            `json:"level"`
	Avatar    string         `json:"avatar"`
	Sort      int            `json:"sort"`
	CreatedAt time.Time      `json:"created_at"`
	UpdatedAt time.Time      `json:"updated_at"`
	DeletedAt gorm.DeletedAt `gorm:"index" json:"deleted_at"`
}

func (EduTeacher) TableName() string {
	return "edu_teacher"
}
